# !/usr/bin/python3
# -*- coding: utf-8 -*-

"""
参数配置表模型类
----------------------------------------------------
@Project :   xinhou-openai-framework
@File    :   TestSchema.py
@Contact :   sp_hrz@qq.com

@Modify Time      @Author    @Version    @Desciption
------------      -------    --------    -----------
2023/04/16 22:04  peng.shen   v1.0.0     None
"""

from typing import Optional

from pydantic import BaseModel, Field


class ToolSchema(BaseModel):
    """
    参数&校验模型
    """
    tenant_id: Optional[int] = Field(
        title="租户ID",
    )

    username: Optional[str] = Field(
        title="用户名",
    )

    password: Optional[str] = Field(
        title="密码",
    )
